﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Web.Mvc;
using System.ComponentModel;


namespace SGTD.Models
{
        public class fichatramite
        {
            //[Display(Name = "fichatramite", Order = 20)]
            [Required(ErrorMessage = "Ingrese DNI")]
            public string dni { get; set; }
        }

        public class Captcha
        {
            [Display(Name = "Captcha", Order = 20)]
            [Remote("ValidateCaptcha", "Captcha", "", ErrorMessage = "Codigo Incorrecto")]
            [Required(ErrorMessage = "Ingrese Codigo")]
            public virtual string CaptchaValue { get; set; }
            public Captcha()
            {

            }

        }

        public class InvisibleCaptcha
        {
            [Display(Name = "InvisibleCaptcha", Order = 20)]
            [Remote("ValidateInvisibleCaptcha", "Captcha", "", ErrorMessage = "Codigo Incorrecto")]
            public virtual string InvisibleCaptchaValue { get; set; }
            public InvisibleCaptcha()
            {

            }
        }
}